home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2005 May / CyberMycha 05-2005 (Poland).bin / Immortal / cotndemo.exe / Data1.cab / groundshadowshadow.vsh < prev    next >
Encoding:
Text File  |  2004-11-16  |  306 b   |  10 lines

  1. // vertex shader when rendering objects to ground shadow buffer
  2.  
  3. vs_1_1                    // version
  4. dcl_position v0            // input vertex position
  5. // def c6,0,0,0,1
  6.  
  7. m4x4 r0,v0,c12            // transform v0 by matrix at c12 and store in r0
  8. mov oPos,r0                // output position
  9. mov oD0,c6                // c6 should contain shadow color
  10.